package com.huabo.audit.oracle.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Set;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@TableName("TBL_NBSJ_REFOPM")
@Data
@ApiModel("实体类")
@Accessors(chain = true)
public class TblNbsjRefopmEntity {
	public static final Integer STATUSYES=2; //整改完成
	public static final Integer STATUSNO=1;//整改中
	public static final Integer NUSTATUS=0;//未分派
	private static final long serialVersionUID = 1L;
	
	@TableId(value = "reformid", type= IdType.AUTO)
	@ApiModelProperty(value="")
	private BigDecimal reformid;
	
	@TableField(value = "reformmeasure")
	@ApiModelProperty(value="")
	private String reformmeasure;
	
	@TableField(value = "reformresult")
	@ApiModelProperty(value="")
	private String reformresult;
	
	@TableField(value = "reformcarryout")
	@ApiModelProperty(value="")
	private String reformcarryout;
	
	@TableField(value = "handling")
	@ApiModelProperty(value="")
	private String handling;
	
	@TableField(value = "reformdeadline")
	@ApiModelProperty(value="")
	private Date reformdeadline;
	
	@TableField(value = "reformtime")
	@ApiModelProperty(value="")
	private Date reformtime;
	
	@TableField(value = "status")
	@ApiModelProperty(value="")
	private Integer status;
	
	@TableField(value = "tblBug")
	@ApiModelProperty(value="")
	private TblNbsjBugEntity tblBug;
	
	@TableField(value = "nbsjQuestion")
	@ApiModelProperty(value="")
	private TblNbsjQuestionEntity nbsjQuestion;
	
	@TableField(value = "nbsuser")
	@ApiModelProperty(value="")
	private TblStaff nbsuser;
	
	@TableField(value = "tblCeaters")
	@ApiModelProperty(value="")
	private TblStaff tblCeaters;
	
	@TableField(value = "createDate")
	@ApiModelProperty(value="")
	private Date createDate;
	
	@TableField(value = "lastreformstatus")
	@ApiModelProperty(value="")
	private Integer lastreformstatus;
	
	@TableField(value = "tblNbsjReformSolution")
	@ApiModelProperty(value="")
	private TblNbsjReformSolutionEntity tblNbsjReformSolution;
	
	@TableField(value = "tblnbsjProject")
	@ApiModelProperty(value="")
	private TblNbsjProject tblnbsjProject;
	
	@TableField(value = "nextmeasures")
	@ApiModelProperty(value="")
	private String nextmeasures;
	
	@TableField(value = "nextmplancomdate")
	@ApiModelProperty(value="")
	private Date nextmplancomdate;
	
	@TableField(value = "inspect")
	@ApiModelProperty(value="")
	private String inspect;
	
	@TableField(value = "zgdwdate")
	@ApiModelProperty(value="")
	private Date zgdwdate;
	
	@TableField(value = "zgstatus")
	@ApiModelProperty(value="")
	private Integer zgstatus;
	
	@TableField(value = "closeyy")
	@ApiModelProperty(value="")
	private String closeyy;
	
	@TableField(value = "tblNbsjReformAtts")
	@ApiModelProperty(value="")
	private Set<TblAttachment> tblNbsjReformAtts;
	
	
}
